<!DOCTYPE composition PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
	xmlns:s="http://jboss.com/products/seam/taglib"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:rich="http://richfaces.org/rich"
	template="/layout/template.xhtml">

	<ui:define name="body">

		<h:form id="courseAddStudent">

			<rich:panel>
				<h:panelGrid columns="1" width="%100">
					<s:decorate id="announcementField1"
						template="/layout/display.xhtml">
						<ui:define name="label">#{messages['txt.announcementTitle']}</ui:define>
						<h:outputText value="#{announcementHome.instance.title}"
							style="width: 500px;" required="true" />
					</s:decorate>
					<s:decorate id="announcementField2"
						template="/layout/display.xhtml">
						<ui:define name="label">#{messages['txt.announcementDetail']}</ui:define>
						<h:outputText value="#{announcementHome.instance.detail}"
							style="width: 500px;" />
					</s:decorate>
				</h:panelGrid>
			</rich:panel>


			<div>
				<s:button id="cancel" value="#{messages.Back}"
					view="/Course/course.xhtml" propagation="end">
				</s:button>
			</div>

		</h:form>

	</ui:define>

</ui:composition>
